Skip to content

Fix add_comment_to_object using params instead of data#1627

Merged
gonchik merged 1 commit intoatlassian-api:masterfrom
star7js:fix/insight-assets-add-comment-post-body
May 4, 2026
Merged

Fix add_comment_to_object using params instead of data#1627
gonchik merged 1 commit intoatlassian-api:masterfrom
star7js:fix/insight-assets-add-comment-post-body

Conversation

@star7js
Copy link
Copy Markdown
Contributor

@star7js star7js commented Mar 26, 2026

Summary

  • add_comment_to_object in both insight.py and assets.py was sending the comment payload as query string parameters (params=) instead of a JSON request body (data=), causing a 500 error from the server.

Closes #1596

…T body (closes atlassian-api#1596)

The Insight/Assets comment create endpoint expects JSON in the request
body, not query string parameters. Using params= causes a 500 error.
@gonchik gonchik merged commit 779eba5 into atlassian-api:master May 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add_comment_to_object fails using params kwarg

2 participants